{include file="inc/header.tpl"}
<div id="content">

<table class="contacts" cellspacing="0" summary="Contacts template">
<tr>
<td class="contactDept" colspan="3">Smiles pack</td>
</tr>
{foreach from=$smiles item=i}
{if $id==$i.smile_id}<tr>
<td class="contact" width="25%">
	
	<form name="min" action="" method="post">
		<input type="text" value="{$i.smile_text}" name="text">
	
</td>
<td class="contact" width="60%">
		<a href="/admin/chatoptions/emotions/chfile/{$i.smile_id}/">
			<img src='/media/img/smile/{$i.smile_file}'>
		</a>
</td>

<td class="contact">
		<input type="submit" value="Change">
		</form>
</td>
{/if}
</tr>
{/foreach}
</table>
<!-- content-->
</div>

</body>
</html>